//
//  OMOrderElementTableCell.m
//  OMENGO
//
//  Created by 梁尚嘉 on 2017/3/9.
//  Copyright © 2017年 Kamfat. All rights reserved.
//

#import "OMOrderElementTableCell.h"
#import "OMOrderDetailAppearace.h"
@implementation OMOrderElementTableCell

- (void)configure
{
    [super configure];
    _elementLabel = [UILabel new];
    [self.contentView addSubview:_elementLabel];
    [_elementLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(@(OMODA_INSETS.left));
        make.top.equalTo(@(OMODA_INSETS.top));
    }];

    _detailLabel = [UILabel new];
    [self.contentView addSubview:_detailLabel];
    [_detailLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(@(SM_SIZE(200)));
        make.top.equalTo(@(OMODA_INSETS.top));
    }];

    self.elementLabel.font = SM_CFont(30);
    self.elementLabel.textColor = HEXCOLOR(@"#969696");

    self.detailLabel.font = SM_CFont(30);
    self.detailLabel.textColor = SM_blackColor;
}

@end
